package com.qike.duola.mapper;

import com.qike.duola.domain.DuolaDept;
import com.qike.duola.domain.DuolaDeptExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DuolaDeptMapper {
    long countByExample(DuolaDeptExample example);

    int deleteByExample(DuolaDeptExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DuolaDept record);

    int insertSelective(DuolaDept record);

    List<DuolaDept> selectByExample(DuolaDeptExample example);

    DuolaDept selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DuolaDept record, @Param("example") DuolaDeptExample example);

    int updateByExample(@Param("record") DuolaDept record, @Param("example") DuolaDeptExample example);

    int updateByPrimaryKeySelective(DuolaDept record);

    int updateByPrimaryKey(DuolaDept record);
}